﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HourValue.aspx.cs" Inherits="bgDate_HourValue" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>小时数据修改</title>
    <link href="../css/SIS.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
    function openUpdateValue()
    {
        var sUrl;            
        document.getElementById("Hidden1").value=document.getElementById("txtValue0").value;
        document.getElementById("Hidden2").value=document.getElementById("txtValue1").value;
        document.getElementById("Hidden3").value=document.getElementById("txtValue2").value;
        document.getElementById("Hidden4").value=document.getElementById("txtValue3").value;
        document.getElementById("Hidden5").value=document.getElementById("txtValue4").value;
        document.getElementById("Hidden6").value=document.getElementById("txtValue5").value;
        document.getElementById("Hidden7").value=document.getElementById("txtValue6").value;
        document.getElementById("Hidden8").value=document.getElementById("txtValue7").value;
        document.getElementById("Hidden9").value=document.getElementById("txtValue8").value;
        document.getElementById("Hidden10").value=document.getElementById("txtValue9").value;
        document.getElementById("Hidden11").value=document.getElementById("txtValue10").value;
        document.getElementById("Hidden12").value=document.getElementById("txtValue11").value;
        document.getElementById("Hidden13").value=document.getElementById("txtValue12").value;
        document.getElementById("Hidden14").value=document.getElementById("txtValue13").value;
        document.getElementById("Hidden15").value=document.getElementById("txtValue14").value;
        document.getElementById("Hidden16").value=document.getElementById("txtValue15").value;
        document.getElementById("Hidden17").value=document.getElementById("txtValue16").value;
        document.getElementById("Hidden18").value=document.getElementById("txtValue17").value;
        document.getElementById("Hidden19").value=document.getElementById("txtValue18").value;
        document.getElementById("Hidden20").value=document.getElementById("txtValue19").value;
        document.getElementById("Hidden21").value=document.getElementById("txtValue20").value;
        document.getElementById("Hidden22").value=document.getElementById("txtValue21").value;
        document.getElementById("Hidden23").value=document.getElementById("txtValue22").value;
        document.getElementById("Hidden24").value=document.getElementById("txtValue23").value;    
        
        if(document.getElementById("chk0").checked==true )
        {
            document.getElementById("chk0").value=1;
            document.getElementById("Hid25").value=1;
        }else
        {
             document.getElementById("chk0").value=0;
             document.getElementById("Hid25").value=0;
        }
        
        if(document.getElementById("chk1").checked==true )
        {
            document.getElementById("chk1").value=1;
            document.getElementById("Hid26").value=1;
        }else
        {
            document.getElementById("chk1").value=0;
             document.getElementById("Hid26").value=0;
        }
        
        if(document.getElementById("chk2").checked==true )
        {
            document.getElementById("chk2").value=1;
            document.getElementById("Hid27").value=1;
        }else
        {
            document.getElementById("chk2").value=0;
             document.getElementById("Hid27").value=0;
        }
        if(document.getElementById("chk3").checked==true )
        {
            document.getElementById("chk3").value=1;
            document.getElementById("Hid28").value=1;
        }else
        {
            document.getElementById("chk3").value=0;
             document.getElementById("Hid28").value=0;
        }
        if(document.getElementById("chk4").checked==true )
        {
            document.getElementById("chk4").value=1;
            document.getElementById("Hid29").value=1;
        }else
        {
            document.getElementById("chk4").value=0;
             document.getElementById("Hid29").value=0;
        }
        if(document.getElementById("chk5").checked==true )
        {
            document.getElementById("chk5").value=1;
            document.getElementById("Hid30").value=1;
        }else
        {
            document.getElementById("chk5").value=0;
             document.getElementById("Hid30").value=0;
        }
        if(document.getElementById("chk6").checked==true )
        {
            document.getElementById("chk6").value=1;
            document.getElementById("Hid31").value=1;
        }else
        {
            document.getElementById("chk6").value=0;
             document.getElementById("Hid31").value=0;
        }
        if(document.getElementById("chk7").checked==true )
        {
            document.getElementById("chk7").value=1;
            document.getElementById("Hid32").value=1;
        }else
        {
            document.getElementById("chk7").value=0;
             document.getElementById("Hid32").value=0;
             
        }
        
        if(document.getElementById("chk8").checked==true )
        {
            document.getElementById("chk8").value=1;
            document.getElementById("Hid33").value=1;
        }else
        {
            document.getElementById("chk8").value=0;
             document.getElementById("Hid33").value=0;
        }
        if(document.getElementById("chk9").checked==true )
        {
            document.getElementById("chk9").value=1;
            document.getElementById("Hid34").value=1;
        }else
        {
            document.getElementById("chk9").value=0;
             document.getElementById("Hid34").value=0;
        }
        if(document.getElementById("chk10").checked==true )
        {
            document.getElementById("chk10").value=1;
            document.getElementById("Hid35").value=1;
        }else
        {
            document.getElementById("chk10").value=0;
             document.getElementById("Hid35").value=0;
        }
        if(document.getElementById("chk11").checked==true )
        {
            document.getElementById("chk11").value=1;
            document.getElementById("Hid36").value=1;
        }else
        {
            document.getElementById("chk11").value=0;
             document.getElementById("Hid36").value=0;
        }
        if(document.getElementById("chk12").checked==true )
        {
            document.getElementById("chk12").value=1;
            document.getElementById("Hid37").value=1;
        }else
        {
            document.getElementById("chk12").value=0;
             document.getElementById("Hid37").value=0;
        }
        if(document.getElementById("chk13").checked==true )
        {
            document.getElementById("chk13").value=1;
            document.getElementById("Hid38").value=1;
        }else
        {
            document.getElementById("chk13").value=0;
             document.getElementById("Hid38").value=0;
        }
        if(document.getElementById("chk14").checked==true )
        {
            document.getElementById("chk14").value=1;
            document.getElementById("Hid39").value=1;
        }else
        {
            document.getElementById("chk14").value=0;
             document.getElementById("Hid39").value=0;
        }
        if(document.getElementById("chk15").checked==true )
        {
            document.getElementById("chk15").value=1;
            document.getElementById("Hid40").value=1;
        }else
        {
            document.getElementById("chk15").value=0;
             document.getElementById("Hid40").value=0;
        }
        if(document.getElementById("chk16").checked==true )
        {
            document.getElementById("chk16").value=1;
            document.getElementById("Hid41").value=1;
        }else
        {
            document.getElementById("chk16").value=0;
             document.getElementById("Hid41").value=0;
        }
        if(document.getElementById("chk17").checked==true )
        {
            document.getElementById("chk17").value=1;
            document.getElementById("Hid42").value=1;
        }else
        {
            document.getElementById("chk17").value=0;
             document.getElementById("Hid42").value=0;
        }
        if(document.getElementById("chk18").checked==true )
        {
            document.getElementById("chk18").value=1;
            document.getElementById("Hid43").value=1;
        }else
        {
            document.getElementById("chk18").value=0;
             document.getElementById("Hid43").value=0;
             
        }
        if(document.getElementById("chk19").checked==true )
        {
            document.getElementById("chk19").value=1;
            document.getElementById("Hid44").value=1;
        }else
        {
            document.getElementById("chk19").value=0;
             document.getElementById("Hid44").value=0;
        }
        if(document.getElementById("chk20").checked==true )
        {
            document.getElementById("chk20").value=1;
            document.getElementById("Hid45").value=1;
        }else
        {
            document.getElementById("chk20").value=0;
             document.getElementById("Hid45").value=0;
        }
        if(document.getElementById("chk21").checked==true )
        {
            document.getElementById("chk21").value=1;
            document.getElementById("Hid46").value=1;
        }else
        {
            document.getElementById("chk21").value=0;
             document.getElementById("Hid46").value=0;
        }
        if(document.getElementById("chk22").checked==true )
        {
            document.getElementById("chk22").value=1;
            document.getElementById("Hid47").value=1;
        }else
        {
            document.getElementById("chk22").value=0;
             document.getElementById("Hid47").value=0;
             
        }
        
        if(document.getElementById("chk23").checked==true )
        {
            document.getElementById("chk23").value=1;
            document.getElementById("Hid48").value=1;
        }else
        {
            document.getElementById("chk23").value=0;
             document.getElementById("Hid48").value=0;
        }
             
        
        //alert( document.getElementById("chk1").value);
      } 
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="Div1">
        <img id="imgTop" height="38px;" src="../img/hv.bmp" width="100%" />
    </div>
    <table width="90%" border="1" align="center" class="bg" valign="top" bordercolorlight="#999999"
        bordercolordark="#FFFFFF" cellspacing="0" cellpadding="1" id="CX">
        <tr style="width: 80%;" bgcolor="#CFE6FC">
            <td style="width: 20%;">
                <div align="center">
                指 标 中 文 名 称
            </td>
            <td style="width: 15%;">
                <div align="center">
                数 据 测 点 名
            </td>
            <td style="width: 10%;">
                <div align="center">
                时 间
            </td>
            <td style="width: 10%;">
                <div align="center">
                数 值
            </td>
            <td style="width: 10%;">
                <div align="center">
                是否统计
            </td>
        </tr>
        <div id="show" runat="server">
        </div>
    </table>
    <input type="hidden" id="hID" runat="server" />
    <input type="hidden" id="hTime" runat="server" />
    <input type="hidden" id="jz" runat="server" />
    <input type="hidden" id="Hidden1" runat="server" />
    <input type="hidden" id="Hidden2" runat="server" />
    <input type="hidden" id="Hidden3" runat="server" />
    <input type="hidden" id="Hidden4" runat="server" />
    <input type="hidden" id="Hidden5" runat="server" />
    <input type="hidden" id="Hidden6" runat="server" />
    <input type="hidden" id="Hidden7" runat="server" />
    <input type="hidden" id="Hidden8" runat="server" />
    <input type="hidden" id="Hidden9" runat="server" />
    <input type="hidden" id="Hidden10" runat="server" />
    <input type="hidden" id="Hidden11" runat="server" />
    <input type="hidden" id="Hidden12" runat="server" />
    <input type="hidden" id="Hidden13" runat="server" />
    <input type="hidden" id="Hidden14" runat="server" />
    <input type="hidden" id="Hidden15" runat="server" />
    <input type="hidden" id="Hidden16" runat="server" />
    <input type="hidden" id="Hidden17" runat="server" />
    <input type="hidden" id="Hidden22" runat="server" />
    <input type="hidden" id="Hidden23" runat="server" />
    <input type="hidden" id="Hidden21" runat="server" />
    <input type="hidden" id="Hidden20" runat="server" />
    <input type="hidden" id="Hidden19" runat="server" />
    <input type="hidden" id="Hidden18" runat="server" />
    <input type="hidden" id="Hidden24" runat="server" />
    <input type="hidden" id="Hid25" runat="server" />
    <input type="hidden" id="Hid26" runat="server" />
    <input type="hidden" id="Hid27" runat="server" />
    <input type="hidden" id="Hid28" runat="server" />
    <input type="hidden" id="Hid29" runat="server" />
    <input type="hidden" id="Hid30" runat="server" />
    <input type="hidden" id="Hid31" runat="server" />
    <input type="hidden" id="Hid32" runat="server" />
    <input type="hidden" id="Hid33" runat="server" />
    <input type="hidden" id="Hid34" runat="server" />
    <input type="hidden" id="Hid35" runat="server" />
    <input type="hidden" id="Hid36" runat="server" />
    <input type="hidden" id="Hid37" runat="server" />
    <input type="hidden" id="Hid38" runat="server" />
    <input type="hidden" id="Hid39" runat="server" />
    <input type="hidden" id="Hid40" runat="server" />
    <input type="hidden" id="Hid41" runat="server" />
    <input type="hidden" id="Hid42" runat="server" />
    <input type="hidden" id="Hid43" runat="server" />
    <input type="hidden" id="Hid44" runat="server" />
    <input type="hidden" id="Hid45" runat="server" />
    <input type="hidden" id="Hid46" runat="server" />
    <input type="hidden" id="Hid47" runat="server" />
    <input type="hidden" id="Hid48" runat="server" />
    <%-- //<input type="button" value="1213" onclick="openUpdateValue()" />--%>
    <asp:Button ID="btnSave" runat="server" Text="保 存" OnClick="btnSave_Click" OnClientClick="openUpdateValue()" />
    </form>
</body>
</html>
